
<style>
    *{margin:0;padding:0;}
    li{list-style:none;}
    .item{margin:20px;}
    .item ul li{float:left;margin-right:20px;}
    .item ul li img{cursor:pointer;}
    .lb_wrap{display:none;}
    .lightbox_bg{background:#000;filter:alpha(opacity=70);opacity:.7;position:absolute;left:0;top:0%;width:100%;height:100%;z-index:1;}
    .lightbox{position:absolute;left:0;top:50%;width:100%;z-index:2;text-align:center;}
    .lightbox p{position:absolute;height:61px;width:38px;top:50%;left:0;z-index:2;background:transparent url(/assets/img/themes.png) no-repeat left top;margin-top:-30.5px;cursor:pointer;}
    .lightbox p.next{left:auto;background-position:right top;right:0;}
</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <table id="table" class="table table-striped" width="100%">
        <tr>
            <th colspan="10">商品信息</th>
        </tr>
        <tr>
            <td>商品ID</td>
            <td>商品编号</td>
            <td>商品名称</td>
            <!-- <td>商品描述</td> -->
            <td>游戏区服</td>
            <td>商品价格</td>
            <td>商品类型</td>
            <td>商品库存</td>
            <td>交易时间</td>
            <td>有效期</td>
            <td>商品状态</td>
        </tr>
        <tr>
            <td>{$row.id|htmlentities}</td>
            <td>{$row.goods_sn|htmlentities}</td>
            <td style="word-break: break-all;">{$row.title|htmlentities}</td>
            <!-- <td style="word-break: break-all;">{$row.desc|htmlentities}</td> -->
            <td>{$row.gamename|htmlentities}{$row.type_name|htmlentities}{$row.plat|htmlentities}{$row.operator|htmlentities}{$row.area|htmlentities}{$row.server|htmlentities}</td>
            <td>{$row.price|htmlentities}</td>
            <td>{$row.type_name|htmlentities}</td>
            <td>{$row.stock|htmlentities}</td>
            <td>{:$row.jy_time?datetime($row.jy_time):''}</td>
            <td>{:$row.havetime?datetime($row.havetime):''}</td>
            <td><span class="label label-info">{if $row.status == 1}上架{elseif $row.status == 2/}下架{elseif $row.status == 3/}审核失败{elseif $row.status == 4/}审核中{else/}平台下架{/if}</span></td>
        </tr>
        <tr>
            <td colspan="2">商品描述</td>
            <td colspan="8">{$row.desc|htmlentities}</td>
        </tr>
    </table>
    <table id="table" class="table table-striped" width="100%">
        <tr>
            <th colspan="3">游戏账号信息</th>
        </tr>
        <tr>
            <td>游戏账号</td>
            <td>游戏密码</td>
            <td>游戏信息</td>
        </tr>
        <tr>
            <td>{$row.g_account|htmlentities}</td>
            <td>{$row.g_password|htmlentities}</td>
            <td>
                {foreach name="sku" item="vo" key="k"}
                {$k} : {$vo}<br/>
                {/foreach}
            </td>
        </tr>
    </table>
    <table id="table" class="table table-striped" width="100%">
        <tr>
            <th>游戏截图</th>
        </tr>
        <tr>
            <td class="item">

                <ul class="row list-inline faupload-preview">
                    {foreach name="images" item="vo"}
                    <li class="col-xs-3 example">
                        <img class="img-responsive img-rounded" src="https://780g.oss-cn-zhangjiakou.aliyuncs.com{$vo|htmlentities}" alt="">
                    </li>
                    {/foreach}
                </ul>


            </td>

        </tr>
    </table>
    <table id="table" class="table table-striped" width="100%">
        <tr>
            <th colspan="6">卖家信息</th>
        </tr>
        <tr>
            <td>账号</td>
            <td>昵称</td>
            <td>联系qq</td>
            <td>联系手机</td>
            <td>是否实名</td>
            <td>认证信息</td>
        </tr>
        <tr>
            <td>{$row.personal.account|htmlentities}</td>
            <td>{$row.personal.nickname|htmlentities}</td>
            <td>{$row.qq|htmlentities}</td>
            <td>{$row.mobile|htmlentities}</td>
            <td>{:$row.personal.is_real==0?'未认证':'已认证'}</td>
            <td>{$row.personal.name}{$row.personal.id_card}</td>
        </tr>
    </table>
    <table id="table" class="table table-striped" width="100%">
        <tr>
            <th colspan="5">售后服务</th>
        </tr>
        <tr>
            <td>{:__('授权买家上号验号')}:</td>
            <td>{:__('是否指定买家购买')}:</td>
            <td>{:__('交易暗码')}:</td>
            <td>{:__('账号安全服务')}:</td>
            <td>{:__('无货赔付')}:</td>
        </tr>
        <tr>
            <td>{:$row.is_warrant==1?'开启':'关闭'}</td>
            <td>{:$row.is_appoint==1?'指定':'不指定'}</td>
            <td>{:$row.cipher?$row.cipher:'无'}</td>
            <td>{if $row.is_safe == 1}终身包赔
                <a href="{:url('goods/goods/examine',['ids'=>$row['id']])}" class="btn btn-xs btn-info btn-dialog" title="审核视频认证"><i class="fa fa-video-camera"></i></a>
                {elseif $row.is_safe == 2/}无服务{else/}心意购{/if}</td>
            <td>{:$row.is_pei==1?'是':'否'}</td>
        </tr>
    </table>
</form>

